package com.design.appliance;

import com.design.ApplianceAbstract;
import com.design.remote.IRemote;

/**
 * 风扇
 */
public class Fan extends ApplianceAbstract {

    public Fan(IRemote remote) {
        super(remote);
    }

    @Override
    public void work() {
        remote.open();
        System.out.println("风扇开始工作");
    }
}
